package com.shenghua.dao.model;

import com.shenghua.dao.page.Page;

import java.util.ArrayList;
import java.util.List;

public class AppFileExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected String groupBy;

    protected Page page;

    public AppFileExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setGroupBy(String groupBy) {
        this.groupBy=groupBy;
    }

    public String getGroupBy() {
        return groupBy;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFileNameIsNull() {
            addCriterion("file_name is null");
            return (Criteria) this;
        }

        public Criteria andFileNameIsNotNull() {
            addCriterion("file_name is not null");
            return (Criteria) this;
        }

        public Criteria andFileNameEqualTo(String value) {
            addCriterion("file_name =", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotEqualTo(String value) {
            addCriterion("file_name <>", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameGreaterThan(String value) {
            addCriterion("file_name >", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("file_name >=", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLessThan(String value) {
            addCriterion("file_name <", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLessThanOrEqualTo(String value) {
            addCriterion("file_name <=", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLike(String value) {
            addCriterion("file_name like", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotLike(String value) {
            addCriterion("file_name not like", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameIn(List<String> values) {
            addCriterion("file_name in", values, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotIn(List<String> values) {
            addCriterion("file_name not in", values, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameBetween(String value1, String value2) {
            addCriterion("file_name between", value1, value2, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotBetween(String value1, String value2) {
            addCriterion("file_name not between", value1, value2, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileMd5IsNull() {
            addCriterion("file_md5 is null");
            return (Criteria) this;
        }

        public Criteria andFileMd5IsNotNull() {
            addCriterion("file_md5 is not null");
            return (Criteria) this;
        }

        public Criteria andFileMd5EqualTo(String value) {
            addCriterion("file_md5 =", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5NotEqualTo(String value) {
            addCriterion("file_md5 <>", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5GreaterThan(String value) {
            addCriterion("file_md5 >", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5GreaterThanOrEqualTo(String value) {
            addCriterion("file_md5 >=", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5LessThan(String value) {
            addCriterion("file_md5 <", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5LessThanOrEqualTo(String value) {
            addCriterion("file_md5 <=", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5Like(String value) {
            addCriterion("file_md5 like", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5NotLike(String value) {
            addCriterion("file_md5 not like", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5In(List<String> values) {
            addCriterion("file_md5 in", values, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5NotIn(List<String> values) {
            addCriterion("file_md5 not in", values, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5Between(String value1, String value2) {
            addCriterion("file_md5 between", value1, value2, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5NotBetween(String value1, String value2) {
            addCriterion("file_md5 not between", value1, value2, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFilePathIsNull() {
            addCriterion("file_path is null");
            return (Criteria) this;
        }

        public Criteria andFilePathIsNotNull() {
            addCriterion("file_path is not null");
            return (Criteria) this;
        }

        public Criteria andFilePathEqualTo(String value) {
            addCriterion("file_path =", value, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathNotEqualTo(String value) {
            addCriterion("file_path <>", value, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathGreaterThan(String value) {
            addCriterion("file_path >", value, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathGreaterThanOrEqualTo(String value) {
            addCriterion("file_path >=", value, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathLessThan(String value) {
            addCriterion("file_path <", value, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathLessThanOrEqualTo(String value) {
            addCriterion("file_path <=", value, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathLike(String value) {
            addCriterion("file_path like", value, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathNotLike(String value) {
            addCriterion("file_path not like", value, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathIn(List<String> values) {
            addCriterion("file_path in", values, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathNotIn(List<String> values) {
            addCriterion("file_path not in", values, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathBetween(String value1, String value2) {
            addCriterion("file_path between", value1, value2, "filePath");
            return (Criteria) this;
        }

        public Criteria andFilePathNotBetween(String value1, String value2) {
            addCriterion("file_path not between", value1, value2, "filePath");
            return (Criteria) this;
        }

        public Criteria andFileExtIsNull() {
            addCriterion("file_ext is null");
            return (Criteria) this;
        }

        public Criteria andFileExtIsNotNull() {
            addCriterion("file_ext is not null");
            return (Criteria) this;
        }

        public Criteria andFileExtEqualTo(String value) {
            addCriterion("file_ext =", value, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtNotEqualTo(String value) {
            addCriterion("file_ext <>", value, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtGreaterThan(String value) {
            addCriterion("file_ext >", value, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtGreaterThanOrEqualTo(String value) {
            addCriterion("file_ext >=", value, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtLessThan(String value) {
            addCriterion("file_ext <", value, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtLessThanOrEqualTo(String value) {
            addCriterion("file_ext <=", value, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtLike(String value) {
            addCriterion("file_ext like", value, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtNotLike(String value) {
            addCriterion("file_ext not like", value, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtIn(List<String> values) {
            addCriterion("file_ext in", values, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtNotIn(List<String> values) {
            addCriterion("file_ext not in", values, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtBetween(String value1, String value2) {
            addCriterion("file_ext between", value1, value2, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileExtNotBetween(String value1, String value2) {
            addCriterion("file_ext not between", value1, value2, "fileExt");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeIsNull() {
            addCriterion("file_createtime is null");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeIsNotNull() {
            addCriterion("file_createtime is not null");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeEqualTo(String value) {
            addCriterion("file_createtime =", value, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeNotEqualTo(String value) {
            addCriterion("file_createtime <>", value, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeGreaterThan(String value) {
            addCriterion("file_createtime >", value, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeGreaterThanOrEqualTo(String value) {
            addCriterion("file_createtime >=", value, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeLessThan(String value) {
            addCriterion("file_createtime <", value, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeLessThanOrEqualTo(String value) {
            addCriterion("file_createtime <=", value, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeLike(String value) {
            addCriterion("file_createtime like", value, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeNotLike(String value) {
            addCriterion("file_createtime not like", value, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeIn(List<String> values) {
            addCriterion("file_createtime in", values, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeNotIn(List<String> values) {
            addCriterion("file_createtime not in", values, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeBetween(String value1, String value2) {
            addCriterion("file_createtime between", value1, value2, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileCreatetimeNotBetween(String value1, String value2) {
            addCriterion("file_createtime not between", value1, value2, "fileCreatetime");
            return (Criteria) this;
        }

        public Criteria andFileStateIsNull() {
            addCriterion("file_state is null");
            return (Criteria) this;
        }

        public Criteria andFileStateIsNotNull() {
            addCriterion("file_state is not null");
            return (Criteria) this;
        }

        public Criteria andFileStateEqualTo(String value) {
            addCriterion("file_state =", value, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateNotEqualTo(String value) {
            addCriterion("file_state <>", value, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateGreaterThan(String value) {
            addCriterion("file_state >", value, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateGreaterThanOrEqualTo(String value) {
            addCriterion("file_state >=", value, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateLessThan(String value) {
            addCriterion("file_state <", value, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateLessThanOrEqualTo(String value) {
            addCriterion("file_state <=", value, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateLike(String value) {
            addCriterion("file_state like", value, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateNotLike(String value) {
            addCriterion("file_state not like", value, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateIn(List<String> values) {
            addCriterion("file_state in", values, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateNotIn(List<String> values) {
            addCriterion("file_state not in", values, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateBetween(String value1, String value2) {
            addCriterion("file_state between", value1, value2, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileStateNotBetween(String value1, String value2) {
            addCriterion("file_state not between", value1, value2, "fileState");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeIsNull() {
            addCriterion("file_save_type is null");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeIsNotNull() {
            addCriterion("file_save_type is not null");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeEqualTo(String value) {
            addCriterion("file_save_type =", value, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeNotEqualTo(String value) {
            addCriterion("file_save_type <>", value, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeGreaterThan(String value) {
            addCriterion("file_save_type >", value, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeGreaterThanOrEqualTo(String value) {
            addCriterion("file_save_type >=", value, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeLessThan(String value) {
            addCriterion("file_save_type <", value, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeLessThanOrEqualTo(String value) {
            addCriterion("file_save_type <=", value, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeLike(String value) {
            addCriterion("file_save_type like", value, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeNotLike(String value) {
            addCriterion("file_save_type not like", value, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeIn(List<String> values) {
            addCriterion("file_save_type in", values, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeNotIn(List<String> values) {
            addCriterion("file_save_type not in", values, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeBetween(String value1, String value2) {
            addCriterion("file_save_type between", value1, value2, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileSaveTypeNotBetween(String value1, String value2) {
            addCriterion("file_save_type not between", value1, value2, "fileSaveType");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoIsNull() {
            addCriterion("file_belongto is null");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoIsNotNull() {
            addCriterion("file_belongto is not null");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoEqualTo(String value) {
            addCriterion("file_belongto =", value, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoNotEqualTo(String value) {
            addCriterion("file_belongto <>", value, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoGreaterThan(String value) {
            addCriterion("file_belongto >", value, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoGreaterThanOrEqualTo(String value) {
            addCriterion("file_belongto >=", value, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoLessThan(String value) {
            addCriterion("file_belongto <", value, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoLessThanOrEqualTo(String value) {
            addCriterion("file_belongto <=", value, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoLike(String value) {
            addCriterion("file_belongto like", value, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoNotLike(String value) {
            addCriterion("file_belongto not like", value, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoIn(List<String> values) {
            addCriterion("file_belongto in", values, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoNotIn(List<String> values) {
            addCriterion("file_belongto not in", values, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoBetween(String value1, String value2) {
            addCriterion("file_belongto between", value1, value2, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileBelongtoNotBetween(String value1, String value2) {
            addCriterion("file_belongto not between", value1, value2, "fileBelongto");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridIsNull() {
            addCriterion("file_createuserid is null");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridIsNotNull() {
            addCriterion("file_createuserid is not null");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridEqualTo(String value) {
            addCriterion("file_createuserid =", value, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridNotEqualTo(String value) {
            addCriterion("file_createuserid <>", value, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridGreaterThan(String value) {
            addCriterion("file_createuserid >", value, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridGreaterThanOrEqualTo(String value) {
            addCriterion("file_createuserid >=", value, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridLessThan(String value) {
            addCriterion("file_createuserid <", value, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridLessThanOrEqualTo(String value) {
            addCriterion("file_createuserid <=", value, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridLike(String value) {
            addCriterion("file_createuserid like", value, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridNotLike(String value) {
            addCriterion("file_createuserid not like", value, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridIn(List<String> values) {
            addCriterion("file_createuserid in", values, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridNotIn(List<String> values) {
            addCriterion("file_createuserid not in", values, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridBetween(String value1, String value2) {
            addCriterion("file_createuserid between", value1, value2, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateuseridNotBetween(String value1, String value2) {
            addCriterion("file_createuserid not between", value1, value2, "fileCreateuserid");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameIsNull() {
            addCriterion("file_createusername is null");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameIsNotNull() {
            addCriterion("file_createusername is not null");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameEqualTo(String value) {
            addCriterion("file_createusername =", value, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameNotEqualTo(String value) {
            addCriterion("file_createusername <>", value, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameGreaterThan(String value) {
            addCriterion("file_createusername >", value, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameGreaterThanOrEqualTo(String value) {
            addCriterion("file_createusername >=", value, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameLessThan(String value) {
            addCriterion("file_createusername <", value, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameLessThanOrEqualTo(String value) {
            addCriterion("file_createusername <=", value, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameLike(String value) {
            addCriterion("file_createusername like", value, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameNotLike(String value) {
            addCriterion("file_createusername not like", value, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameIn(List<String> values) {
            addCriterion("file_createusername in", values, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameNotIn(List<String> values) {
            addCriterion("file_createusername not in", values, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameBetween(String value1, String value2) {
            addCriterion("file_createusername between", value1, value2, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileCreateusernameNotBetween(String value1, String value2) {
            addCriterion("file_createusername not between", value1, value2, "fileCreateusername");
            return (Criteria) this;
        }

        public Criteria andFileTypeIsNull() {
            addCriterion("file_type is null");
            return (Criteria) this;
        }

        public Criteria andFileTypeIsNotNull() {
            addCriterion("file_type is not null");
            return (Criteria) this;
        }

        public Criteria andFileTypeEqualTo(String value) {
            addCriterion("file_type =", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeNotEqualTo(String value) {
            addCriterion("file_type <>", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeGreaterThan(String value) {
            addCriterion("file_type >", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeGreaterThanOrEqualTo(String value) {
            addCriterion("file_type >=", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeLessThan(String value) {
            addCriterion("file_type <", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeLessThanOrEqualTo(String value) {
            addCriterion("file_type <=", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeLike(String value) {
            addCriterion("file_type like", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeNotLike(String value) {
            addCriterion("file_type not like", value, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeIn(List<String> values) {
            addCriterion("file_type in", values, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeNotIn(List<String> values) {
            addCriterion("file_type not in", values, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeBetween(String value1, String value2) {
            addCriterion("file_type between", value1, value2, "fileType");
            return (Criteria) this;
        }

        public Criteria andFileTypeNotBetween(String value1, String value2) {
            addCriterion("file_type not between", value1, value2, "fileType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}